package com.gaofeng.day22;

public class demo02 {
    public static void main(String[] args) {

        MyRun myRun = new MyRun();

        Thread t1 = new Thread(myRun);
        t1.setName("线程1");
        t1.start();
        Thread t2 = new Thread(myRun);
        t2.setName("线程2");
        t2.start();
    }
}
